const Mock = require('mockjs')


var Random = Mock.Random

export default () => {

    Mock.mock('user/data', 'post', () => {
        Tabledata.push(Mock.mock({

                id: Random.integer(1, 200),
                name: Random.cname(),
                phone: Random.integer(15000000000, 20000000000),
                status: Random.boolean(),
                email: Random.email("qq.com"),
            })
        )
        return {
            data: Tabledata,
            total: totalCount
        }
    })
}
